package br.com.cultbook.service;

import java.rmi.RemoteException;
import java.util.List;

import javax.ejb.Remote;

@Remote
public interface ICultBookServices <T> {
	public void incluir (T t) throws RemoteException;
	public void alterar(T t) throws RemoteException;
	public void excluir(long id) throws RemoteException;
	public T buscarPorId(long id) throws RemoteException;
	public List<T> pesquisar(final String key) throws RemoteException;
	public List<T> buscarTodos() throws RemoteException;	
}
